<template>
  <div>
    <div class="demo">
      123456
    </div>
    <div>
      {{isShowing?'11':"22"}}
    </div>
    <div @click="toggleShow">按钮</div>
  </div>
</template>

<script>
import { toggle } from '../mixin/mixin'

export default {
  name: 'demo',
  mixins: [toggle],
  data() {
    return {
      msg: '这是一个很简单的首页'
    }
  }
}
</script>
